package com.zhong.gang.applib.http;

import java.io.Serializable;

public class BaseRespone<T>  implements Serializable{
    private int retstatus ;
    private Retvalue<T> retvalue ;

    public int getRetstatus() {
        return retstatus;
    }

    public void setRetstatus(int retstatus) {
        this.retstatus = retstatus;
    }

    public Retvalue<T> getRetvalue() {
        return retvalue;
    }

    public void setRetvalue(Retvalue<T> retvalue) {
        this.retvalue = retvalue;
    }

    public class Retvalue<T>{
        private int status;
        private String msg;
        private T data;

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public T getData() {
            return data;
        }

        public void setData(T data) {
            this.data = data;
        }
    }
}
